//
//  AdderMoneyModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/7/26.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "AdderMoneyModel.h"

@implementation AdderMoneyModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.experience = dict[@"experience"];
        self.memberMoney = dict[@"memberMoney"];
        self.moneyDifference = dict[@"moneyDifference"];
        self.roleId = [dict[@"roleId"] integerValue];
        self.partner = dict[@"partner"];
        self.residueMember = [dict[@"residueMember"] integerValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[AdderMoneyModel alloc]initWithDict:dict];
}

@end
